# $OpenBSD: Makefile.exiftran,v 1.4 2017/04/23 22:31:12 sthen Exp $

.PATH: ${.CURDIR}/../..
PROG=	exiftran
SRCS=	exiftran.c genthumbnail.c jpegtools.c filter.c op.c readers.c

.PATH: ${.CURDIR}/../../jpeg/62
SRCS+=	transupp.c

.PATH: ${.CURDIR}/../../rd
SRCS+=	read-jpeg.c

LDADD=	-L${PREFIX}/lib -ljpeg -lexif -lm

CFLAGS+= -I${PREFIX}/include -I${.CURDIR}/../../jpeg/62 \
	-I${.CURDIR}/../.. -DHAVE_NEW_EXIF

MAN=

.include <bsd.prog.mk>
